#!/usr/bin/env python
"""
 Baolin Jing (271965)
 csse login: bjing
"""
import sys
import string

def load():
	dict_file = open('dict.txt', 'r')
	dict = {}

	# read words in each line into the dictionary
	for line in dict_file:
		line = line.rstrip()
		if '#' in line:
			continue
		else:
			pair = line.split('\t')
			dict[pair[0]] = pair[1]

	return dict

if __name__ == '__main__':
	dict = load()
	# sort index and print
	for en in sorted(dict.keys()):
		print en, ': ', dict[en]
